package com.heima.article.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.article.dtos.ApArticleDto;
import com.heima.model.article.dtos.ArticleHomeDto;
import com.heima.model.article.pojos.ApArticle;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.ArticleDto;
import com.heima.model.wemedia.pojos.WmUser;

import java.util.List;

/**
 * @author 嘉德罗斯
 * @date 2021/11/19
 */
public interface ArticleService extends IService<ApArticle> {
    List<ApArticle> load(ArticleHomeDto dto);

    Long saveArticle(ApArticleDto dto);

    String getUrl(Long articleId);

    ResponseResult delete(Long articleId);
}
